import langchain

# 设置为详细输出模式
langchain.verbose = True

from langchain_openai import ChatOpenAI

llm = ChatOpenAI()
print(llm.invoke("Hello, world!"))